package com.suiwei.mybatisPlus.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

/**
 * @author suiwei
 * @date 2022-10-24 19:30
 */
@Data
public class Book {
    private Integer id;
    private String name;
    private String type;
    private String description;
    @JsonFormat(shape =JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date datetime;

}
